package com.smartthinking.CICPNL.home.activity;

import android.app.Activity;
import android.content.Intent;
import android.content.res.Configuration;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.widget.TextView;

import com.smartthinking.CICPNL.R;
import com.smartthinking.CICPNL.R.id;

public class Descripcion extends Activity {

	private Intent intent;
	private String PUTTEXTO;

	
	public void voidFinish(View V) {
		finish();

	}
	
	public void onConfigurationChanged(Configuration newConfig) {
		super.onConfigurationChanged(newConfig);

		// Checks the orientation of the screen
		 
	}
	
	@Override
	public void onBackPressed() {
	}	
	
	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(R.layout.ui_descripcion);

		Bundle extras = getIntent().getExtras();

		if (extras != null) {

			this.PUTTEXTO = extras.getString("PUTTEXTO");

		}
		TextView desc = (TextView) this.findViewById(id.tv_descripcion);
		desc.setText(PUTTEXTO);

	}
}